package com.kaitian.demo.demo_boot_starter.service.impl;

import com.kaitian.demo.demo_boot_starter.service.IRedisService;
import com.kaitian.demo.demo_boot_starter.service.IRepositoryService;
import com.kaitian.demo.demo_boot_starter.utils.RedisUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisOperations;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import java.util.List;

/**
 * @author ：xietian
 * @version ：V1.0
 * @program ：demo
 * @date ：Created in 2022/4/8 15:49
 * @description ：
 */
@Slf4j
@Service
public class RepositoryServiceImpl implements IRepositoryService {

    @Autowired
    private RedisTemplate redisTemplate;

    @Autowired
    private RedisUtil redisUtil;

    /**
     * 测试Redis事务
     */
    @Override
    public void testMySqlOverSale() {

    }

}